package com.healthcloud.service.losewisdom;

import com.healthcloud.dto.req.losewisdom.LoseWisdomSingleChoiceAnswerDetailDto;
import com.healthcloud.dto.vo.LoseWisdomSingleChoiceVo;
import com.healthcloud.entity.losewisdom.LoseWisdomSingleChoiceAnswerDetailEntity;

import java.util.List;

/**
 * 失智老人问卷单选答案明细表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2020-10-13 13:47:29
 */
@Deprecated
public interface LoseWisdomSingleChoiceAnswerDetailService {

    /**
     * 获取答案明细
     * @param id
     * @return
     */
    List<LoseWisdomSingleChoiceAnswerDetailDto> getDetailsByAnswerId(Integer id);

    /**
     * 批量新增问卷答案明细
     * @param list
     */
    void batchSaveAnswer(List<LoseWisdomSingleChoiceAnswerDetailEntity> list);

    /**
     * 批量修改问卷答案明细
     * @param list
     */
    void batchUpdateAnswer(List<LoseWisdomSingleChoiceAnswerDetailEntity> list);

    /**
     * 根据答案id删除答案明细
     * @param answerId
     */
    void deleteByAnswerId(Integer answerId);

}
